﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lenovo.CFI.Common
{
    public class IdeaReviewDetail
    {
        public IdeaReviewDetail()
        {
        }

        public IdeaReviewDetail(int reviewID)
        {
            this.reviewID = reviewID;
        }

        public IdeaReviewDetail(int id, int reviewID)
        {
            this.id = id;
            this.reviewID = reviewID;
        }


        #region fields

        private int id;
        private int reviewID;
        private string reviewer;
        private string agent;
        private decimal? cv;
        private decimal? bv;
        private decimal? tv;
        private string type;
        private string typeComment;
        private bool? ip;
        private string ipComment;
        private string suggestion;
        private string note;
        private DateTime stamp;
        private bool finished;

        #endregion

        #region properities

        public int ID
        {
            get { return id; }
            set { id = value; }
        }

        public int ReviewID
        {
            get { return reviewID; }
            set { reviewID = value; }
        }

        /// <summary>
        /// 评审人
        /// </summary>
        public string Reviewer
        {
            get { return reviewer; }
            set { reviewer = value; }
        }

        /// <summary>
        /// 实际进行评审的操作人
        /// </summary>
        public string Agent
        {
            get { return agent; }
            set { agent = value; }
        }

        /// <summary>
        /// CV
        /// </summary>
        public decimal? Cv
        {
            get { return cv; }
            set { cv = value; }
        }

        /// <summary>
        /// BV
        /// </summary>
        public decimal? Bv
        {
            get { return bv; }
            set { bv = value; }
        }

        /// <summary>
        /// TV
        /// </summary>
        public decimal? Tv
        {
            get { return tv; }
            set { tv = value; }
        }

        /// <summary>
        /// 评审人建议的类型
        /// </summary>
        public string Type
        {
            get { return type; }
            set { type = value; }
        }

        /// <summary>
        /// 评审人建议的类型的备注
        /// </summary>
        public string TypeComment
        {
            get { return typeComment; }
            set { typeComment = value; }
        }

        /// <summary>
        /// 评审人建议的是否IP
        /// </summary>
        public bool? Ip
        {
            get { return ip; }
            set { ip = value; }
        }

        /// <summary>
        /// 评审人建议的是否IP的备注
        /// </summary>
        public string IpComment
        {
            get { return ipComment; }
            set { ipComment = value; }
        }

        /// <summary>
        /// 评审人建议的NextAction
        /// </summary>
        public string Suggestion
        {
            get { return suggestion; }
            set { suggestion = value; }
        }

        /// <summary>
        /// 评审人的备注 -- 备用
        /// </summary>
        public string Note
        {
            get { return note; }
            set { note = value; }
        }

        /// <summary>
        /// 评审操作的最后时间
        /// </summary>
        public DateTime Stamp
        {
            get { return stamp; }
            set { stamp = value; }
        }

        /// <summary>
        /// 评审是否已提交
        /// </summary>
        public bool Finished
        {
            get { return finished; }
            set { finished = value; }
        }
        
        #endregion

    }
}
